#ifndef MGROUNDCONTROLQMLGLOBAL_H
#define MGROUNDCONTROLQMLGLOBAL_H

#include "MGCToolbox.h"
#include "MGCApplication.h"

class MGroundControlQmlGlobal : public MGCTool
{
    Q_OBJECT
public:
    MGroundControlQmlGlobal(MGCApplication* app, MGCToolbox* toolbox);

    Q_PROPERTY(MGCCorePlugin* corePlugin READ corePlugin CONSTANT)

    MGCCorePlugin*          corePlugin          ()  { return _corePlugin; }

    virtual void setToolbox(MGCToolbox* toolbox);
private:

    MGCCorePlugin* _corePlugin = nullptr;
};

#endif // MGROUNDCONTROLQMLGLOBAL_H
